import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

Vue.config.productionTip = false
//导入amfe-flexible ：监听视口的变化，设置rem基准值的1/10宽度
import 'amfe-flexible'
//导入vatn.js
import '@/utils/vant'
//注册全局组件
import ArticleItem from '@/components/ArticleItem'
Vue.component('ArticleItem',ArticleItem)
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
